/*
* $Id: LanguageManager.h 143 2010-09-09 19:55:18Z volok-aleksej@yandex.ru $
*
* Copyright 2008-2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _LANGUAGE_MANAGER_H_
#define _LANGUAGE_MANAGER_H_

class CLanguageManager : public ILanguageManager
{
	std::tstring m_DefaultLanguage;
	std::tstring m_strUserLanguage;
	std::vector<std::tstring> m_aLanguage;
public:
	CLanguageManager();
	virtual ~CLanguageManager();
public:
	void Init();
	virtual std::tstring GetString(int nType, const std::tstring& strLang = _T(""));
	virtual std::vector<std::tstring> GetSupportLanguage();
	virtual std::tstring GetDefaultLanguage();
	virtual std::tstring GetCurrentLanguage();
	virtual std::tstring GetConstant(const std::tstring& strConstName, const std::tstring& strLang = _T(""));
};

#endif /*_LANGUAGE_MANAGER_H_*/